<const/arr=[1,2,3]/>
<const/obj={ a: 1, b: 1, c: 1 }/>

<for|val, i| of=arr>
  <div>${i}: ${val}</div>
  <div/>
  <div/>
</for>

<for|key, val| in=obj>
  <div>${key}: ${val}</div>
  <div/>
  <div/>
</for>

<div>
  to 3:
  <for|i| to=3>
    ${i}
  </for>
</div>

<div>
  until 3:
  <for|i| until=3>
    ${i}
  </for>
</div>

<div>
  from 1 to 3:
  <for|i| from=1 to=3>
    ${i}
  </for>
</div>

<div>
  from 1 until 3:
  <for|i| from=1 until=3>
    ${i}
  </for>
</div>

<div>
  from 1 to 5 step 2:
  <for|i| from=1 to=5 step=2>
    ${i}
  </for>
</div>

<div>
  from 1 until 5 step 2:
  <for|i| from=1 until=5 step=2>
    ${i}
  </for>
</div>

<div>
  from 4 to 2 step -0.6:
  <for|i| from=4 to=2 step=-.6>
    ${i}${" "}
  </for>
</div>

<div>
  from 4 until 2 step -0.6:
  <for|i| from=4 until=2 step=-.6>
    ${i}${" "}
  </for>
</div>
